import Vue from 'vue'
import VueTree from '@ssthouse/vue-tree-chart'
import App from './App.vue' //挂载点
import router from './router'
import {request} from './network/axios'

import './plugins/element.js' //导入elementUI,按需导入
import './assets/css/global.css' //导入全局样式
import './assets/fonts/iconfont.css' //导入字体图标
import 'nprogress/nprogress.css'

Vue.prototype.$http = request

Vue.component('vue-tree', VueTree)

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
